<?php
$data = array(
    'service/clusterService/clusters' => '
    {
        "status": 1,
        "content": [
            "bigdata_elasticsearch_v16",
            "zhanhun"
        ],
        "code": 0,
        "msg": null
    }
    ',
    'service/indexService/indices' => '
    {
 "status": 1,
 "content": [
  {
   "index": "mall_item_limatlmaset",
        "aliases": [
    "item"
   ]
  },
  {
   "index": "tuan_item_iemaetvtessaro",
   "aliases": [
    "tuan_item",
    "tuan_item2"
   ]
  }
 ],
 "code": 0,
 "msg": null
}
    ',
);
$api = isset($_GET['api']) ? $_GET['api'] : '';
$param = isset($_GET['cluster']) ? $_GET['cluster'] : '';
exit(json_encode(json_decode($data[$api])));
